package com.tianzmp.ttq.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 菜单
 * </p>
 *
 * @author ttq
 * @since 2022-07-30
 */
@Data
@TableName("ups_menu")
@ApiModel(value = "Menu对象", description = "菜单")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Long menuId;

    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("1:目录2：菜单3：按钮")
    private Integer type;

    @ApiModelProperty("系统id")
    private Long systemId;

    @ApiModelProperty("路径")
    private String url;

    @ApiModelProperty("权限值")
    private String menuValue;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("状态1：启用0：禁用")
    private Integer menuStatus;

    private Timestamp createTime;

    private Timestamp updateTime;

}
